package com.kgc.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 购物车表
 *
 * @author shkstart
 * @create 2020-11-16 19:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("order_cart")
public class OrderCart {
    /*购物车的id*/
    private String cartId;
    /*买家微信openId*/
    private String buyerOpenid;
    /*订单编号*/
    private String orderNumber;
    /*产品编号*/
    private String categoryType;
    /*商品名称*/
    private String productName;
    /*当前价格*/
    private double productPrice;
    /*买的数量*/
    private Integer productQuantity;
    /*图片地址*/
    private String productIcon;
    /*桌号*/
    private Integer OrderTableNum;
    /*购物车总金额*/
    private double totalPrice;
    /*添加时间*/
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    /*支付状态*/
    private Integer payStatus;


}
